<div class="main">
	<div class="container" style="margin-bottom: 20px;">
		<div id="slideBox" class="slideBox2">
			<div class="hd">
				<ul>
					{volist name="banner" id="item"}
					<li></li>
					{/volist}
				</ul>
			</div>
			<div class="bd">
				<ul>
					{volist name="banner" id="item"}
					<li><a href="{$item.url}" target="_blank"><img src="{$item.image}" /></a></li>
					{/volist}
				</ul>
			</div>

			<!-- 下面是前/后按钮代码，如果不需要删除即可 -->
			<a class="prev" href="javascript:void(0)"></a>
			<a class="next" href="javascript:void(0)"></a>
		</div>
		<div style="display: flex;justify-content: space-between;">
			<div style="width: 880px; padding:0 20px 20px;background: #fff;">
				<div class="list_navs">
					<a href="{:url('hangyexinxi/index')}" {if(!request()->has('type'))}class="active"{/if}>全部</a>
					{volist name="hangyexinxi_type" id="item"}
					<a href="{:url('hangyexinxi/index',['type'=>$item.id])}" {if(request()->param('type')==$item.id)}class="active"{/if}>{$item.name}</a>
					{/volist}
				</div>
				<ul class="gonggao_list">
					{volist name="list" id="item"}
					<a href="{:url('hangyexinxi/detail',['id'=>$item.id])}"><li>
						<img src="{$item.image}">
						<div class="content">
							<div class="title">{$item.title}</div>
							
							<div class="desc">
								{$item.content|strip_tags}
							</div>
							<div style="color: #999;font-size: 12px;"><i class="iconfont">&#xe74a;</i> {$item.updatetime|date="Y-m-d",###} 【{$item.type_name}】</div>
						</div>
					</li></a>
					{/volist}
				</ul>
				<div style="text-align:center;">{$list->render()}</div>
			</div>
			<div style="width: 310px;">
				{volist name="hangyexinxi_type2" id="item"}
				<div class="arclist_303" style="margin-bottom: 10px;">
					<div class="list_title">{$item.name}</div>
					<ul class="news_list" style="height: auto;">
						{volist name="item['list']" id="detail_item"}
						<a href="{:url('hangyexinxi/detail',['id'=>$detail_item.id])}">
							<li>{$detail_item.title}</li>
						</a>
						{/volist}
					</ul>
				</div>
				{/volist}
			</div>
		</div>
	</div>
</div>
<script>
	jQuery(".slideBox2").slide({
		mainCell: ".bd ul",
		autoPlay: true
	});
</script>